﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

/// <summary>
/// 选项的内容
/// </summary>
public abstract class OptionContent{
    public string description
    {
        get
        {
            return _description;
        }
        set
        {
            _description = value;
            if (onDescriptionChanged != null)
            {
                onDescriptionChanged(_description);
            }
        }
    }
    protected string _description;
    public int number;
    public delegate void OnDescriptionChanged(string s);
    public event OnDescriptionChanged onDescriptionChanged;
    
}
